package game.constants;

public class GameConstant {

	public static final String GAME_SERVER_NAME = "game_server";// 游戏缓存名称
	// ----装备强化常量
	public static final int StrengthenCountLimit = 20;// 强化成功的次数限制
	public static final int StrengthenPinLimit = 5;// 装备品的最高等级
	public static final int StrengthenJie = 4;// 一品的阶数
	public static final double pin1 = 1;
	public static final double pin2 = 1.3;
	public static final double pin3 = 1.7;
	public static final double pin4 = 2.2;
	public static final double pin5 = 3;

	// -----灵宠常量
	public static final int preGradeSkill = 8;
	public static final int maxLearnSkillGrade = 40;
	public static final int horseMaxSkillCount = 5;
	public static final int horseMaxShenjiCount = 3;
	// 幸运晶
	public static final int xingyunMaxNum = 9;
	public static final int XingYunJinglv = 200;

	// 怒气
	public static final int SP_LIMIT_GRADE = 10;

	// 杀死玩家的杀戮值计数
	public static final int KILL_HERO_NUM = 5;
	// 杀死怪物的杀戮值计数
	public static final int KILL_MONSTER_NUM = 1;

	public static final int PK_GRADE = 20;// pk等级限制

	public static final int PK_GRADE_CHA = 25;// pk等级差限制

	public static final int TASK_DIF_GRADE = 10;// 任务最高难度等级

	public static final String RECHARGE_SECRET_KEY = "3e4c81dfa56d8d7ec0d61151209d5313";

	public static final int PRE_RECHARGE_YUANBAO = 10;

	public static final String CURRENCY = "QB";

	public static final int playYanchi = 1000;// 装备强化等玩法的延迟时间，单位毫秒

	// VIP特权数值常量
	public static final double shuangxiu = 0.2;// 打坐
	public static final double dazuo = 0.2;// 打坐
	public static final double biguan = 0.5;// 闭关
	public static final double rihuan = 0.2;// 日环
	public static final double shengjie = 0.05;// 升阶
	public static final double shengpin = 0.2;// 升品
	public static final double petStrengthen = 0.1;// 宠物强化幸运值上限降低10%
	public static final double petFuhua = 0.2;// 宠物孵化概率提高20%
	public static final float dujie = 0.2f;// 领取渡劫收益提高20%
	public static final int instance = 1;// 副本
	public static final int nuqi = 10;// 闪避技能的怒气消耗减少10
	
	public static final String CACHE_GOODS_MODEL = "goodsModel";
	public static final String CACHE_GOODS_MODEL_ID_KEY_GOODS = "idKeyGoods";
	public static final String CACHE_GOODS_MODEL_NAME_KEY_GOODS = "nameKeyGoods";
	public static final String CACHE_GOODS_MODEL_gradeEquite = "gradeEquite";
	public static final String CACHE_GOODS_MODEL_hpDrug = "hpDrug";
	public static final String CACHE_GOODS_MODEL_mpDrug = "mpDrug";
	public static final String CACHE_GOODS_MODEL_spDrug = "spDrug";
	public static final String CACHE_GOODS_MODEL_hpDrugBuff = "hpDrugBuff";
	public static final String CACHE_GOODS_MODEL_mpDrugBuff = "mpDrugBuff";
	
	public static final String CACHE_ITEM_TEMPLATE = "itemTpl";
	public static final String CACHE_ITEM_TEMPLATE_ID_KEY_GOODS = "idKeyItem";
	public static final String CACHE_ITEM_TEMPLATE_NAME_KEY_GOODS = "nameKeyItem";
	
	public static final String CACHE_SHOP_TEMPLATE = "shopTpl";
	public static final String CACHE_SHOP_KEY_ID_MAP = "keyId";
	
	/** goods+heroId */
	public static final String CACHE_GOODS = "goods";
	public static final String CACHE_GOODS_BODY = "gBody";
	public static final String CACHE_GOODS_BAG = "gBag";
	public static final String CACHE_RANKING = "ranking";
	public static final byte CACHE_RANKING_GRADE = 1;
	public static final byte CACHE_RANKING_COPPER = 2;

}
